/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package trivia;

/**
 *
 * @author mourawi
 */
public class Problem {

    private String question;

    private String[] answers;

    private String hint;

    private int correct;

    public Problem(String question, String[] answers, int correct, String hint) {
        this.question = question;
        this.answers = answers;
        this.correct = correct;
        this.hint = hint;
    }


    public String getQuestion() {
        return question;
    }

    public String getAnswer(int index) {
        return answers[index];
    }

    public int getAnswersNumber() {
        return answers.length;
    }

    public int getCorrect() {
        return correct;
    }

    public String getHint() {
        return hint;
    }
}
